{%include file="index.header.tpl.php"%}
{%include file="index.left.tpl.php"%}
 <!--主要内容开始-->
  <div class="content-wrapper">
    <section class="content">
      <div class="row">
        <section class="col-lg-12 connectedSortable">
         <div class="box box-default box-solid">
             <form action="" method="post" enctype="multipart/form-data">	
                <div class="box-header with-border">
                    <span class="fa fa-wrench" style="float:left; font-size:18px; padding-top:3px; color:#3c8dbc;" ></span>
                    <p class="box-title">申购</p>
                </div>
                   <div class="box-body">
					
                       <div class="form-group">
                              <label for="inputPassword3" class="col-md-4 control-label text-right" >
                                   网址：
                              </label>
                              <div class="input-group col-md-4 col-sm-12 col-xs-12">
                                   <input type="url" name="shop_url" value="{%$shop_data.shop_url%}" class="form-control">
                              </div> 
                        </div>
						<div class="form-group">
                              <label for="inputPassword3" class="col-md-4 control-label text-right" >
                                   参考图片：
                              </label>
                              <div class="input-group col-md-4 col-sm-12 col-xs-12">
                                  {% if $shop_data.shop_site!=""%}
                                  <div class="input-group col-md-7 col-sm-12 col-xs-12">
                                      <img src="{%$shop_data.shop_site%}" width="50%" >
                                  </div>
                                  {%/if%}
                                    <input type="file" name="shop_file" value="" accept="image/x-png,image/jpeg">
                              </div>
                        </div>
                        <div class="form-group">
                              <label for="inputPassword3" class="col-md-4 control-label text-right" >
                                   申购内容：
                              </label>
                              <div class="input-group col-md-6 col-sm-12 col-xs-12">
                                    <textarea class="form-control" rows="3" name="shop_content">{%$shop_data.shop_content%}</textarea>
                              </div> 
                        </div>
				   </div><!--box-body -->
                   <div class="box-footer text-center">
                        <button class="btn btn-primary" type="submit">保 存 信 息</button>
                   </div>
               </form>
           </div><!--box box-default box-solid-->
        </section>   
           
        </div><!--row-->
    </section>
 </div>
  <!--主要内容结束-->
{%include file="index.footer.tpl.php"%}
